import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/${lowClassName}/list',
    method: 'post',
    params: query
  })
}

export function see(id) {
  return request({
    url: '/${lowClassName}/see/' + id,
    method: 'post'
  })
}

export function modify(params) {
  return request({
    url: '/${lowClassName}/modify',
    method: 'post',
    params
  })
}

export function add(params) {
  return request({
    url: '/${lowClassName}/add',
    method: 'post',
    params
  })
}

export function remove(id) {
  return request({
    url: '/${lowClassName}/remove',
    method: 'post',
    params:{
      ids:id
    }
  })
}
